﻿namespace ACCOUNTING
{
    using ACCOUNTING.LVY.Business;
    using ACCOUNTING.My;
    using ACCOUNTING.My.Resources;
    using C1.Win.C1Command;
    using C1.Win.C1Input;
    using Microsoft.VisualBasic;
    using Microsoft.VisualBasic.CompilerServices;
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Diagnostics;
    using System.Drawing;
    using System.Runtime.CompilerServices;
    using System.Windows.Forms;

    [DesignerGenerated]
    public class Frm_BanGiaoSuaChua : Form
    {
        private static List<WeakReference> __ENCList = new List<WeakReference>();
        [AccessedThroughProperty("AdvKhachHang")]
        private ADVObjects _AdvKhachHang;
        [AccessedThroughProperty("AdvNhanVienKiemTra")]
        private ADVObjects _AdvNhanVienKiemTra;
        [AccessedThroughProperty("C1DockingTab1")]
        private C1DockingTab _C1DockingTab1;
        [AccessedThroughProperty("C1DockingTab2")]
        private C1DockingTab _C1DockingTab2;
        [AccessedThroughProperty("C1DockingTabPage1")]
        private C1DockingTabPage _C1DockingTabPage1;
        [AccessedThroughProperty("C1DockingTabPage2")]
        private C1DockingTabPage _C1DockingTabPage2;
        [AccessedThroughProperty("CboDieuKienSuaChua")]
        private ComboBox _CboDieuKienSuaChua;
        [AccessedThroughProperty("CboTinhTrangSuaChua")]
        private ComboBox _CboTinhTrangSuaChua;
        [AccessedThroughProperty("CmdAdd")]
        private ToolStripButton _CmdAdd;
        [AccessedThroughProperty("CmdDel")]
        private ToolStripButton _CmdDel;
        [AccessedThroughProperty("CmdEdit")]
        private ToolStripButton _CmdEdit;
        [AccessedThroughProperty("CmdExit")]
        private ToolStripButton _CmdExit;
        [AccessedThroughProperty("CmdFind")]
        private ToolStripButton _CmdFind;
        [AccessedThroughProperty("CmdHelp")]
        private ToolStripButton _CmdHelp;
        [AccessedThroughProperty("CmdPrint")]
        private ToolStripButton _CmdPrint;
        [AccessedThroughProperty("CmdSave")]
        private ToolStripButton _CmdSave;
        [AccessedThroughProperty("CmdTimSoTiepNhan")]
        private Button _CmdTimSoTiepNhan;
        [AccessedThroughProperty("CmdUnsave")]
        private ToolStripButton _CmdUnsave;
        [AccessedThroughProperty("Label1")]
        private Label _Label1;
        [AccessedThroughProperty("Label10")]
        private Label _Label10;
        [AccessedThroughProperty("Label11")]
        private Label _Label11;
        [AccessedThroughProperty("Label12")]
        private Label _Label12;
        [AccessedThroughProperty("Label13")]
        private Label _Label13;
        [AccessedThroughProperty("Label14")]
        private Label _Label14;
        [AccessedThroughProperty("Label15")]
        private Label _Label15;
        [AccessedThroughProperty("Label16")]
        private Label _Label16;
        [AccessedThroughProperty("Label17")]
        private Label _Label17;
        [AccessedThroughProperty("Label2")]
        private Label _Label2;
        [AccessedThroughProperty("Label20")]
        private Label _Label20;
        [AccessedThroughProperty("Label3")]
        private Label _Label3;
        [AccessedThroughProperty("Label4")]
        private Label _Label4;
        [AccessedThroughProperty("Label5")]
        private Label _Label5;
        [AccessedThroughProperty("Label6")]
        private Label _Label6;
        [AccessedThroughProperty("Label7")]
        private Label _Label7;
        [AccessedThroughProperty("Label8")]
        private Label _Label8;
        [AccessedThroughProperty("Label9")]
        private Label _Label9;
        [AccessedThroughProperty("ToolStrip1")]
        private ToolStrip _ToolStrip1;
        [AccessedThroughProperty("ToolStripButton1")]
        private ToolStripSeparator _ToolStripButton1;
        [AccessedThroughProperty("ToolStripSeparator1")]
        private ToolStripSeparator _ToolStripSeparator1;
        [AccessedThroughProperty("ToolStripSeparator2")]
        private ToolStripSeparator _ToolStripSeparator2;
        [AccessedThroughProperty("ToolStripSeparator3")]
        private ToolStripSeparator _ToolStripSeparator3;
        [AccessedThroughProperty("TxtDiaChi")]
        private TextBox _TxtDiaChi;
        [AccessedThroughProperty("TxtDienGiaiBanGiao")]
        private TextBox _TxtDienGiaiBanGiao;
        [AccessedThroughProperty("TxtGioTraHang")]
        private MaskedTextBox _TxtGioTraHang;
        [AccessedThroughProperty("TxtKetLuan")]
        private TextBox _TxtKetLuan;
        [AccessedThroughProperty("TxtMaThietBi")]
        private TextBox _TxtMaThietBi;
        [AccessedThroughProperty("TxtNgayBanGiao")]
        private C1DateEdit _TxtNgayBanGiao;
        [AccessedThroughProperty("TxtNgayHoanTatSuaChua")]
        private C1DateEdit _TxtNgayHoanTatSuaChua;
        [AccessedThroughProperty("TxtNgayKiemTra")]
        private C1DateEdit _TxtNgayKiemTra;
        [AccessedThroughProperty("TxtNgayTiepNhan")]
        private C1DateEdit _TxtNgayTiepNhan;
        [AccessedThroughProperty("TxtNgayTraSales")]
        private C1DateEdit _TxtNgayTraSales;
        [AccessedThroughProperty("TxtNguyenNhan")]
        private TextBox _TxtNguyenNhan;
        [AccessedThroughProperty("TxtSoChungTu")]
        private TextBox _TxtSoChungTu;
        [AccessedThroughProperty("TxtSoSerial")]
        private TextBox _TxtSoSerial;
        [AccessedThroughProperty("TxtTenThietBi")]
        private TextBox _TxtTenThietBi;
        [AccessedThroughProperty("TxtTinhTrangThietBi")]
        private TextBox _TxtTinhTrangThietBi;
        public string cfrmKhoaTiepNhan;
        private IContainer components;
        private bool mAllowAdd;
        private bool mAllowDel;
        private bool mAllowEdit;
        private bool mAllowView;
        private bool mEnableControl;
        private clsDMHangHoa objHH;
        private clsSuaChuaThietBi objTN;

        public Frm_BanGiaoSuaChua()
        {
            base.Load += new EventHandler(this.Frm_BanGiaoSuaChua_Load);
            List<WeakReference> list = __ENCList;
            lock (list)
            {
                __ENCList.Add(new WeakReference(this));
            }
            this.mAllowEdit = true;
            this.mAllowDel = false;
            this.mAllowView = false;
            this.mAllowAdd = false;
            this.cfrmKhoaTiepNhan = "";
            this.objTN = new clsSuaChuaThietBi();
            this.objHH = new clsDMHangHoa();
            this.InitializeComponent();
        }

        public void AddNew()
        {
            this.EnabledControl = true;
            this.EmptyData();
            this.TxtNgayHoanTatSuaChua.Value = Strings.Format(DateAndTime.Today, "dd/MM/yyyy");
            this.TxtNgayTraSales.Value = Strings.Format(DateAndTime.Today, "dd/MM/yyyy");
            this.TxtNgayBanGiao.Value = Strings.Format(DateAndTime.Today, "dd/MM/yyyy");
            this.TxtGioTraHang.Text = LVYModule.sRight("00" + Conversions.ToString(DateAndTime.Now.Hour), 2) + ":" + LVYModule.sRight("00" + Conversions.ToString(DateAndTime.Now.Minute), 2);
            this.CboTinhTrangSuaChua.Focus();
        }

        public bool CheckIvalid()
        {
            if (this.cfrmKhoaTiepNhan.Trim() == "")
            {
                LVYModule.ShowWarning(modGeneral.Tranlated("Bạn phải chọn phiếu tiếp nhận thiết bị!", ""));
                this.CmdTimSoTiepNhan.Focus();
                return false;
            }
            if (this.TxtTinhTrangThietBi.Text.Trim() == "")
            {
                LVYModule.ShowWarning(modGeneral.Tranlated("Bạn phải nhập t\x00ecnh trạng thiết bị sau khi sửa!", ""));
                this.TxtTinhTrangThietBi.Focus();
                return false;
            }
            if (this.TxtDienGiaiBanGiao.Text.Trim() == "")
            {
                LVYModule.ShowWarning(modGeneral.Tranlated("Bạn phải nhập th\x00f4ng tin trả h\x00e0ng!", ""));
                this.TxtDienGiaiBanGiao.Focus();
                return false;
            }
            return true;
        }

        private void CmdAdd_Click(object sender, EventArgs e)
        {
            this.AddNew();
            this.CmdTimSoTiepNhan_Click(this.CmdTimSoTiepNhan, e);
        }

        private void CmdDel_Click(object sender, EventArgs e)
        {
            if ((this.cfrmKhoaTiepNhan.Trim() != "") && LVYModule.ConfirmDelete(""))
            {
                this.objTN.Load(this.cfrmKhoaTiepNhan);
                this.objTN.BanGiaoThietBi("-");
                this.EmptyData();
            }
        }

        private void CmdEdit_Click(object sender, EventArgs e)
        {
            if (this.cfrmKhoaTiepNhan.Trim() != "")
            {
                this.EnabledControl = true;
            }
        }

        private void CmdExit_Click(object sender, EventArgs e)
        {
            this.Dispose();
        }

        private void CmdFind_Click(object sender, EventArgs e)
        {
            MyProject.Forms.Frm_TiepNhanList.Dispose();
            MyProject.Forms.Frm_TiepNhanList.objFrmCall = this;
            MyProject.Forms.Frm_TiepNhanList.strCondition = " RTRIM(TN.NgayTraHang) <> ''";
            MyProject.Forms.Frm_TiepNhanList.ShowDialog();
        }

        private void CmdPrint_Click(object sender, EventArgs e)
        {
            if (this.cfrmKhoaTiepNhan.Trim() != "")
            {
                this.PrintReport(this.cfrmKhoaTiepNhan);
            }
        }

        private void CmdSave_Click(object sender, EventArgs e)
        {
            if (this.CheckIvalid())
            {
                clsSuaChuaThietBi objTN = this.objTN;
                objTN.Load(this.cfrmKhoaTiepNhan);
                objTN.Khoa = this.cfrmKhoaTiepNhan;
                objTN.TinhTrangSuaChua = this.CboTinhTrangSuaChua.SelectedIndex;
                objTN.NgayHoanTatSuaChua = LVYModule.Date2Char(Conversions.ToString(this.TxtNgayHoanTatSuaChua.Value));
                objTN.TinhTrangSauKhiSuaChua = this.TxtTinhTrangThietBi.Text.Trim();
                objTN.NgayBanGiaoSales = LVYModule.Date2Char(Conversions.ToString(this.TxtNgayTraSales.Value));
                objTN.NgayTraHang = LVYModule.Date2Char(Conversions.ToString(this.TxtNgayBanGiao.Value));
                objTN.GioTraHang = this.TxtGioTraHang.Text;
                objTN.DienGiaiTraHang = this.TxtDienGiaiBanGiao.Text.Trim();
                if (objTN.BanGiaoThietBi("+"))
                {
                    objTN = null;
                    this.EnabledControl = false;
                }
            }
        }

        private void CmdTimSoTiepNhan_Click(object sender, EventArgs e)
        {
            MyProject.Forms.Frm_TiepNhanList.Dispose();
            MyProject.Forms.Frm_TiepNhanList.objFrmCall = this;
            MyProject.Forms.Frm_TiepNhanList.strCondition = " RTRIM(IsNull(NgayTraHang,'')) = '' ";
            MyProject.Forms.Frm_TiepNhanList.ShowDialog();
        }

        private void CmdUnsave_Click(object sender, EventArgs e)
        {
            this.objTN.Load(this.cfrmKhoaTiepNhan);
            if (this.objTN.NgayTraHang.Trim() != "")
            {
                this.ShowData(this.cfrmKhoaTiepNhan);
            }
            else
            {
                this.InsertTiepNhanThietBi(this.cfrmKhoaTiepNhan);
            }
            this.EnabledControl = false;
        }

        [DebuggerNonUserCode]
        protected override void Dispose(bool disposing)
        {
            try
            {
                if (disposing && (this.components != null))
                {
                    this.components.Dispose();
                }
            }
            finally
            {
                base.Dispose(disposing);
            }
        }

        public void EmptyData()
        {
            this.cfrmKhoaTiepNhan = "";
            this.TxtMaThietBi.Text = "";
            this.TxtTenThietBi.Text = "";
            this.TxtSoSerial.Text = "";
            this.AdvKhachHang.Value = "";
            this.TxtDiaChi.Text = "";
            this.TxtNguyenNhan.Text = "";
            this.TxtKetLuan.Text = "";
            this.AdvNhanVienKiemTra.Value = "";
            this.TxtNgayHoanTatSuaChua.Value = "";
            this.TxtNgayTraSales.Value = "";
            this.TxtNgayBanGiao.Value = "";
            this.TxtTinhTrangThietBi.Text = "";
            this.TxtDienGiaiBanGiao.Text = "";
            this.TxtGioTraHang.Text = "__:__";
        }

        private void Frm_BanGiaoSuaChua_Load(object sender, EventArgs e)
        {
            LVYModule.GetUserRight(ref this.mAllowView, ref this.mAllowDel, ref this.mAllowEdit, ref this.mAllowAdd, Conversions.ToString(this.Tag), modGeneral.H_USERNAME);
            if (!this.mAllowView)
            {
                LVYModule.ShowWarning(modGeneral.Tranlated("Bạn kh\x00f4ng c\x00f3 quyền xem, li\x00ean hệ với người quản trị để biết th\x00eam chi tiết.", ""));
                this.Dispose();
            }
            else
            {
                this.CboTinhTrangSuaChua.Items.Clear();
                this.CboTinhTrangSuaChua.Items.Add(modGeneral.Tranlated("Ho\x00e0n tất sửa chữa b\x00e0n giao cho kh\x00e1ch!", ""));
                this.CboTinhTrangSuaChua.Items.Add(modGeneral.Tranlated("Kh\x00f4ng sửa chữa, b\x00e0n giao cho kh\x00e1ch!", ""));
                this.CboDieuKienSuaChua.Items.Clear();
                this.CboDieuKienSuaChua.Items.Add(modGeneral.Tranlated("Bảo h\x00e0nh sản phẩm", ""));
                this.CboDieuKienSuaChua.Items.Add(modGeneral.Tranlated("Sửa chữa thu ph\x00ed", ""));
                if (this.cfrmKhoaTiepNhan.Trim() != "")
                {
                    this.ShowData(this.cfrmKhoaTiepNhan);
                }
                this.EnabledControl = false;
            }
        }

        [DebuggerStepThrough]
        private void InitializeComponent()
        {
            ComponentResourceManager manager = new ComponentResourceManager(typeof(Frm_BanGiaoSuaChua));
            this.ToolStrip1 = new ToolStrip();
            this.CmdAdd = new ToolStripButton();
            this.CmdEdit = new ToolStripButton();
            this.ToolStripSeparator2 = new ToolStripSeparator();
            this.CmdSave = new ToolStripButton();
            this.CmdUnsave = new ToolStripButton();
            this.ToolStripSeparator1 = new ToolStripSeparator();
            this.CmdFind = new ToolStripButton();
            this.CmdPrint = new ToolStripButton();
            this.ToolStripButton1 = new ToolStripSeparator();
            this.CmdDel = new ToolStripButton();
            this.ToolStripSeparator3 = new ToolStripSeparator();
            this.CmdExit = new ToolStripButton();
            this.CmdHelp = new ToolStripButton();
            this.C1DockingTab1 = new C1DockingTab();
            this.C1DockingTabPage1 = new C1DockingTabPage();
            this.Label20 = new Label();
            this.CboDieuKienSuaChua = new ComboBox();
            this.TxtNguyenNhan = new TextBox();
            this.Label14 = new Label();
            this.AdvNhanVienKiemTra = new ADVObjects();
            this.TxtNgayKiemTra = new C1DateEdit();
            this.Label5 = new Label();
            this.TxtKetLuan = new TextBox();
            this.Label1 = new Label();
            this.TxtDiaChi = new TextBox();
            this.Label9 = new Label();
            this.Label8 = new Label();
            this.AdvKhachHang = new ADVObjects();
            this.Label4 = new Label();
            this.TxtSoSerial = new TextBox();
            this.TxtTenThietBi = new TextBox();
            this.Label3 = new Label();
            this.TxtMaThietBi = new TextBox();
            this.CmdTimSoTiepNhan = new Button();
            this.TxtNgayTiepNhan = new C1DateEdit();
            this.Label13 = new Label();
            this.TxtSoChungTu = new TextBox();
            this.Label2 = new Label();
            this.Label12 = new Label();
            this.C1DockingTab2 = new C1DockingTab();
            this.C1DockingTabPage2 = new C1DockingTabPage();
            this.Label17 = new Label();
            this.CboTinhTrangSuaChua = new ComboBox();
            this.TxtDienGiaiBanGiao = new TextBox();
            this.Label16 = new Label();
            this.TxtNgayTraSales = new C1DateEdit();
            this.Label15 = new Label();
            this.TxtNgayHoanTatSuaChua = new C1DateEdit();
            this.Label11 = new Label();
            this.TxtGioTraHang = new MaskedTextBox();
            this.Label10 = new Label();
            this.TxtTinhTrangThietBi = new TextBox();
            this.Label7 = new Label();
            this.TxtNgayBanGiao = new C1DateEdit();
            this.Label6 = new Label();
            this.ToolStrip1.SuspendLayout();
            ((ISupportInitialize) this.C1DockingTab1).BeginInit();
            this.C1DockingTab1.SuspendLayout();
            this.C1DockingTabPage1.SuspendLayout();
            ((ISupportInitialize) this.TxtNgayKiemTra).BeginInit();
            ((ISupportInitialize) this.TxtNgayTiepNhan).BeginInit();
            ((ISupportInitialize) this.C1DockingTab2).BeginInit();
            this.C1DockingTab2.SuspendLayout();
            this.C1DockingTabPage2.SuspendLayout();
            ((ISupportInitialize) this.TxtNgayTraSales).BeginInit();
            ((ISupportInitialize) this.TxtNgayHoanTatSuaChua).BeginInit();
            ((ISupportInitialize) this.TxtNgayBanGiao).BeginInit();
            this.SuspendLayout();
            this.ToolStrip1.BackgroundImage = ACCOUNTING.My.Resources.Resources.bgbluenoborder;
            this.ToolStrip1.Items.AddRange(new ToolStripItem[] { this.CmdAdd, this.CmdEdit, this.ToolStripSeparator2, this.CmdSave, this.CmdUnsave, this.ToolStripSeparator1, this.CmdFind, this.CmdPrint, this.ToolStripButton1, this.CmdDel, this.ToolStripSeparator3, this.CmdExit, this.CmdHelp });
            Point point = new Point(0, 0);
            this.ToolStrip1.Location = point;
            this.ToolStrip1.Name = "ToolStrip1";
            Size size = new Size(0x356, 0x19);
            this.ToolStrip1.Size = size;
            this.ToolStrip1.TabIndex = 0;
            this.CmdAdd.Image = (Image) manager.GetObject("CmdAdd.Image");
            this.CmdAdd.ImageTransparentColor = Color.White;
            this.CmdAdd.Name = "CmdAdd";
            size = new Size(0x48, 0x16);
            this.CmdAdd.Size = size;
            this.CmdAdd.Text = "&Th\x00eam mới";
            this.CmdEdit.Image = (Image) manager.GetObject("CmdEdit.Image");
            this.CmdEdit.ImageTransparentColor = Color.White;
            this.CmdEdit.Name = "CmdEdit";
            size = new Size(0x2e, 0x16);
            this.CmdEdit.Size = size;
            this.CmdEdit.Text = "&Sửa";
            this.ToolStripSeparator2.Name = "ToolStripSeparator2";
            size = new Size(6, 0x19);
            this.ToolStripSeparator2.Size = size;
            this.CmdSave.Image = (Image) manager.GetObject("CmdSave.Image");
            this.CmdSave.ImageTransparentColor = Color.WhiteSmoke;
            this.CmdSave.Name = "CmdSave";
            size = new Size(0x2d, 0x16);
            this.CmdSave.Size = size;
            this.CmdSave.Text = "&Lưu";
            this.CmdUnsave.Image = (Image) manager.GetObject("CmdUnsave.Image");
            this.CmdUnsave.ImageTransparentColor = Color.White;
            this.CmdUnsave.Name = "CmdUnsave";
            size = new Size(0x37, 0x16);
            this.CmdUnsave.Size = size;
            this.CmdUnsave.Text = "&K.Lưu";
            this.ToolStripSeparator1.Name = "ToolStripSeparator1";
            size = new Size(6, 0x19);
            this.ToolStripSeparator1.Size = size;
            this.CmdFind.Image = (Image) manager.GetObject("CmdFind.Image");
            this.CmdFind.ImageTransparentColor = Color.White;
            this.CmdFind.Name = "CmdFind";
            size = new Size(0x43, 0x16);
            this.CmdFind.Size = size;
            this.CmdFind.Text = "T\x00ecm kiếm";
            this.CmdPrint.Image = (Image) manager.GetObject("CmdPrint.Image");
            this.CmdPrint.ImageTransparentColor = Color.White;
            this.CmdPrint.Name = "CmdPrint";
            size = new Size(0x25, 0x16);
            this.CmdPrint.Size = size;
            this.CmdPrint.Text = "&In";
            this.ToolStripButton1.Name = "ToolStripButton1";
            size = new Size(6, 0x19);
            this.ToolStripButton1.Size = size;
            this.CmdDel.Image = (Image) manager.GetObject("CmdDel.Image");
            this.CmdDel.ImageTransparentColor = Color.White;
            this.CmdDel.Name = "CmdDel";
            size = new Size(0x2d, 0x16);
            this.CmdDel.Size = size;
            this.CmdDel.Text = "&X\x00f3a";
            this.ToolStripSeparator3.Name = "ToolStripSeparator3";
            size = new Size(6, 0x19);
            this.ToolStripSeparator3.Size = size;
            this.CmdExit.Alignment = ToolStripItemAlignment.Right;
            this.CmdExit.Image = (Image) manager.GetObject("CmdExit.Image");
            this.CmdExit.ImageTransparentColor = Color.White;
            this.CmdExit.Name = "CmdExit";
            size = new Size(0x37, 0x16);
            this.CmdExit.Size = size;
            this.CmdExit.Text = "Th&o\x00e1t";
            this.CmdHelp.Alignment = ToolStripItemAlignment.Right;
            this.CmdHelp.Image = (Image) manager.GetObject("CmdHelp.Image");
            this.CmdHelp.ImageTransparentColor = Color.Magenta;
            this.CmdHelp.Name = "CmdHelp";
            size = new Size(0x30, 0x16);
            this.CmdHelp.Size = size;
            this.CmdHelp.Text = "&Help";
            this.C1DockingTab1.Controls.Add(this.C1DockingTabPage1);
            this.C1DockingTab1.Dock = DockStyle.Top;
            point = new Point(0, 0x19);
            this.C1DockingTab1.Location = point;
            this.C1DockingTab1.Name = "C1DockingTab1";
            size = new Size(0x356, 0xb6);
            this.C1DockingTab1.Size = size;
            this.C1DockingTab1.TabIndex = 1;
            this.C1DockingTab1.TabsSpacing = 5;
            this.C1DockingTab1.TabStyle = TabStyleEnum.Office2007;
            this.C1DockingTab1.VisualStyle = C1.Win.C1Command.VisualStyle.Office2007Blue;
            this.C1DockingTab1.VisualStyleBase = C1.Win.C1Command.VisualStyle.Office2007Blue;
            this.C1DockingTabPage1.Controls.Add(this.Label20);
            this.C1DockingTabPage1.Controls.Add(this.CboDieuKienSuaChua);
            this.C1DockingTabPage1.Controls.Add(this.TxtNguyenNhan);
            this.C1DockingTabPage1.Controls.Add(this.Label14);
            this.C1DockingTabPage1.Controls.Add(this.AdvNhanVienKiemTra);
            this.C1DockingTabPage1.Controls.Add(this.TxtNgayKiemTra);
            this.C1DockingTabPage1.Controls.Add(this.Label5);
            this.C1DockingTabPage1.Controls.Add(this.TxtKetLuan);
            this.C1DockingTabPage1.Controls.Add(this.Label1);
            this.C1DockingTabPage1.Controls.Add(this.TxtDiaChi);
            this.C1DockingTabPage1.Controls.Add(this.Label9);
            this.C1DockingTabPage1.Controls.Add(this.Label8);
            this.C1DockingTabPage1.Controls.Add(this.AdvKhachHang);
            this.C1DockingTabPage1.Controls.Add(this.Label4);
            this.C1DockingTabPage1.Controls.Add(this.TxtSoSerial);
            this.C1DockingTabPage1.Controls.Add(this.TxtTenThietBi);
            this.C1DockingTabPage1.Controls.Add(this.Label3);
            this.C1DockingTabPage1.Controls.Add(this.TxtMaThietBi);
            this.C1DockingTabPage1.Controls.Add(this.CmdTimSoTiepNhan);
            this.C1DockingTabPage1.Controls.Add(this.TxtNgayTiepNhan);
            this.C1DockingTabPage1.Controls.Add(this.Label13);
            this.C1DockingTabPage1.Controls.Add(this.TxtSoChungTu);
            this.C1DockingTabPage1.Controls.Add(this.Label2);
            this.C1DockingTabPage1.Controls.Add(this.Label12);
            point = new Point(1, 0x18);
            this.C1DockingTabPage1.Location = point;
            this.C1DockingTabPage1.Name = "C1DockingTabPage1";
            size = new Size(0x354, 0x9d);
            this.C1DockingTabPage1.Size = size;
            this.C1DockingTabPage1.TabIndex = 0;
            this.C1DockingTabPage1.Text = "Th\x00f4ng tin thiết bị";
            this.Label20.AutoSize = true;
            this.Label20.BackColor = Color.Transparent;
            point = new Point(450, 0x5f);
            this.Label20.Location = point;
            this.Label20.Name = "Label20";
            size = new Size(0x4a, 13);
            this.Label20.Size = size;
            this.Label20.TabIndex = 130;
            this.Label20.Text = "Loại sửa chữa";
            this.CboDieuKienSuaChua.Enabled = false;
            this.CboDieuKienSuaChua.FormattingEnabled = true;
            this.CboDieuKienSuaChua.Items.AddRange(new object[] { "Mới tiếp nhận", "Đ\x00e3 kiểm tra", "Đ\x00e3 giao" });
            point = new Point(0x221, 0x5c);
            this.CboDieuKienSuaChua.Location = point;
            this.CboDieuKienSuaChua.Name = "CboDieuKienSuaChua";
            size = new Size(300, 0x15);
            this.CboDieuKienSuaChua.Size = size;
            this.CboDieuKienSuaChua.TabIndex = 0x81;
            point = new Point(0x71, 0x5c);
            this.TxtNguyenNhan.Location = point;
            this.TxtNguyenNhan.Name = "TxtNguyenNhan";
            this.TxtNguyenNhan.ReadOnly = true;
            size = new Size(320, 20);
            this.TxtNguyenNhan.Size = size;
            this.TxtNguyenNhan.TabIndex = 0x7f;
            this.Label14.AutoSize = true;
            this.Label14.BackColor = Color.Transparent;
            point = new Point(10, 0x5f);
            this.Label14.Location = point;
            this.Label14.Name = "Label14";
            size = new Size(0x47, 13);
            this.Label14.Size = size;
            this.Label14.TabIndex = 0x80;
            this.Label14.Text = "Nguy\x00ean nh\x00e2n";
            this.AdvNhanVienKiemTra.LoaiDoiTuong = modGeneral.TypeObjects.NhanVien;
            point = new Point(0x221, 0x42);
            this.AdvNhanVienKiemTra.Location = point;
            this.AdvNhanVienKiemTra.Name = "AdvNhanVienKiemTra";
            this.AdvNhanVienKiemTra.ReadOnly = true;
            size = new Size(300, 20);
            this.AdvNhanVienKiemTra.Size = size;
            this.AdvNhanVienKiemTra.TabIndex = 0x7d;
            this.AdvNhanVienKiemTra.UpperText = true;
            this.AdvNhanVienKiemTra.Value = "";
            this.AdvNhanVienKiemTra.WidthCode = 90;
            this.TxtNgayKiemTra.BorderStyle = BorderStyle.FixedSingle;
            this.TxtNgayKiemTra.Calendar.AnnuallyBoldedDates = new DateTime[0];
            this.TxtNgayKiemTra.Calendar.BoldedDates = new DateTime[0];
            this.TxtNgayKiemTra.Calendar.ClearText = "&Clear";
            this.TxtNgayKiemTra.Calendar.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            Padding padding = new Padding(0);
            this.TxtNgayKiemTra.Calendar.Margin = padding;
            this.TxtNgayKiemTra.Calendar.MonthlyBoldedDates = new DateTime[0];
            DateTime time = new DateTime(0x7d9, 8, 0x13, 0, 0, 0, 0);
            this.TxtNgayKiemTra.Calendar.SelectedDate = time;
            this.TxtNgayKiemTra.Calendar.TodayText = "&Today";
            this.TxtNgayKiemTra.Calendar.VisualStyle = C1.Win.C1Input.VisualStyle.System;
            this.TxtNgayKiemTra.Calendar.VisualStyleBaseStyle = C1.Win.C1Input.VisualStyle.System;
            this.TxtNgayKiemTra.DisplayFormat.FormatType = FormatTypeEnum.ShortDate;
            this.TxtNgayKiemTra.DisplayFormat.Inherit = FormatInfoInheritFlags.TrimEnd | FormatInfoInheritFlags.TrimStart | FormatInfoInheritFlags.EmptyAsNull | FormatInfoInheritFlags.NullText | FormatInfoInheritFlags.CustomFormat;
            this.TxtNgayKiemTra.FormatType = FormatTypeEnum.ShortDate;
            point = new Point(0x147, 0x42);
            this.TxtNgayKiemTra.Location = point;
            this.TxtNgayKiemTra.Name = "TxtNgayKiemTra";
            padding = new Padding(1);
            this.TxtNgayKiemTra.Padding = padding;
            this.TxtNgayKiemTra.ReadOnly = true;
            size = new Size(0x69, 20);
            this.TxtNgayKiemTra.Size = size;
            this.TxtNgayKiemTra.TabIndex = 0x7c;
            this.TxtNgayKiemTra.Tag = null;
            this.TxtNgayKiemTra.VisibleButtons = DropDownControlButtonFlags.DropDown;
            this.Label5.AutoSize = true;
            this.Label5.BackColor = Color.Transparent;
            point = new Point(0xea, 0x44);
            this.Label5.Location = point;
            this.Label5.Name = "Label5";
            size = new Size(0x48, 13);
            this.Label5.Size = size;
            this.Label5.TabIndex = 0x7b;
            this.Label5.Text = "Ng\x00e0y kiểm tra";
            point = new Point(0x71, 0x77);
            this.TxtKetLuan.Location = point;
            this.TxtKetLuan.Name = "TxtKetLuan";
            this.TxtKetLuan.ReadOnly = true;
            size = new Size(0x2dc, 20);
            this.TxtKetLuan.Size = size;
            this.TxtKetLuan.TabIndex = 0x79;
            this.Label1.AutoSize = true;
            this.Label1.BackColor = Color.Transparent;
            point = new Point(10, 0x7a);
            this.Label1.Location = point;
            this.Label1.Name = "Label1";
            size = new Size(0x2e, 13);
            this.Label1.Size = size;
            this.Label1.TabIndex = 0x7a;
            this.Label1.Text = "Kết luận";
            point = new Point(0x221, 0x26);
            this.TxtDiaChi.Location = point;
            this.TxtDiaChi.Name = "TxtDiaChi";
            this.TxtDiaChi.ReadOnly = true;
            size = new Size(300, 20);
            this.TxtDiaChi.Size = size;
            this.TxtDiaChi.TabIndex = 0x44;
            this.Label9.AutoSize = true;
            this.Label9.BackColor = Color.Transparent;
            point = new Point(450, 0x27);
            this.Label9.Location = point;
            this.Label9.Name = "Label9";
            size = new Size(40, 13);
            this.Label9.Size = size;
            this.Label9.TabIndex = 0x43;
            this.Label9.Text = "Địa chỉ";
            this.Label8.AutoSize = true;
            this.Label8.BackColor = Color.Transparent;
            point = new Point(450, 11);
            this.Label8.Location = point;
            this.Label8.Name = "Label8";
            size = new Size(0x41, 13);
            this.Label8.Size = size;
            this.Label8.TabIndex = 0x42;
            this.Label8.Text = "Kh\x00e1ch h\x00e0ng";
            this.AdvKhachHang.LoaiDoiTuong = modGeneral.TypeObjects.KhachHang;
            point = new Point(0x221, 10);
            this.AdvKhachHang.Location = point;
            this.AdvKhachHang.Name = "AdvKhachHang";
            this.AdvKhachHang.ReadOnly = true;
            size = new Size(300, 20);
            this.AdvKhachHang.Size = size;
            this.AdvKhachHang.TabIndex = 0x41;
            this.AdvKhachHang.UpperText = true;
            this.AdvKhachHang.Value = "";
            this.AdvKhachHang.WidthCode = 90;
            this.Label4.AutoSize = true;
            this.Label4.BackColor = Color.Transparent;
            point = new Point(9, 0x45);
            this.Label4.Location = point;
            this.Label4.Name = "Label4";
            size = new Size(0x2f, 13);
            this.Label4.Size = size;
            this.Label4.TabIndex = 0x30;
            this.Label4.Text = "Số serial";
            point = new Point(0x71, 0x42);
            this.TxtSoSerial.Location = point;
            this.TxtSoSerial.Name = "TxtSoSerial";
            this.TxtSoSerial.ReadOnly = true;
            size = new Size(100, 20);
            this.TxtSoSerial.Size = size;
            this.TxtSoSerial.TabIndex = 0x2f;
            point = new Point(0xd6, 0x26);
            this.TxtTenThietBi.Location = point;
            this.TxtTenThietBi.Name = "TxtTenThietBi";
            this.TxtTenThietBi.ReadOnly = true;
            size = new Size(0xda, 20);
            this.TxtTenThietBi.Size = size;
            this.TxtTenThietBi.TabIndex = 0x2e;
            this.Label3.AutoSize = true;
            this.Label3.BackColor = Color.Transparent;
            point = new Point(9, 0x29);
            this.Label3.Location = point;
            this.Label3.Name = "Label3";
            size = new Size(0x38, 13);
            this.Label3.Size = size;
            this.Label3.TabIndex = 0x2d;
            this.Label3.Text = "M\x00e3 thiết bị";
            point = new Point(0x71, 0x26);
            this.TxtMaThietBi.Location = point;
            this.TxtMaThietBi.Name = "TxtMaThietBi";
            this.TxtMaThietBi.ReadOnly = true;
            size = new Size(100, 20);
            this.TxtMaThietBi.Size = size;
            this.TxtMaThietBi.TabIndex = 0x2c;
            point = new Point(0xd6, 9);
            this.CmdTimSoTiepNhan.Location = point;
            this.CmdTimSoTiepNhan.Name = "CmdTimSoTiepNhan";
            size = new Size(0x18, 0x16);
            this.CmdTimSoTiepNhan.Size = size;
            this.CmdTimSoTiepNhan.TabIndex = 0x2b;
            this.CmdTimSoTiepNhan.Text = "...";
            this.CmdTimSoTiepNhan.UseVisualStyleBackColor = true;
            this.TxtNgayTiepNhan.BorderStyle = BorderStyle.FixedSingle;
            this.TxtNgayTiepNhan.Calendar.AnnuallyBoldedDates = new DateTime[0];
            this.TxtNgayTiepNhan.Calendar.BoldedDates = new DateTime[0];
            this.TxtNgayTiepNhan.Calendar.ClearText = "&Clear";
            this.TxtNgayTiepNhan.Calendar.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            padding = new Padding(0);
            this.TxtNgayTiepNhan.Calendar.Margin = padding;
            this.TxtNgayTiepNhan.Calendar.MonthlyBoldedDates = new DateTime[0];
            time = new DateTime(0x7d9, 8, 0x13, 0, 0, 0, 0);
            this.TxtNgayTiepNhan.Calendar.SelectedDate = time;
            this.TxtNgayTiepNhan.Calendar.TodayText = "&Today";
            this.TxtNgayTiepNhan.Calendar.VisualStyle = C1.Win.C1Input.VisualStyle.System;
            this.TxtNgayTiepNhan.Calendar.VisualStyleBaseStyle = C1.Win.C1Input.VisualStyle.System;
            this.TxtNgayTiepNhan.DisplayFormat.FormatType = FormatTypeEnum.ShortDate;
            this.TxtNgayTiepNhan.DisplayFormat.Inherit = FormatInfoInheritFlags.TrimEnd | FormatInfoInheritFlags.TrimStart | FormatInfoInheritFlags.EmptyAsNull | FormatInfoInheritFlags.NullText | FormatInfoInheritFlags.CustomFormat;
            this.TxtNgayTiepNhan.FormatType = FormatTypeEnum.ShortDate;
            point = new Point(0x147, 10);
            this.TxtNgayTiepNhan.Location = point;
            this.TxtNgayTiepNhan.Name = "TxtNgayTiepNhan";
            padding = new Padding(1);
            this.TxtNgayTiepNhan.Padding = padding;
            this.TxtNgayTiepNhan.ReadOnly = true;
            size = new Size(0x69, 20);
            this.TxtNgayTiepNhan.Size = size;
            this.TxtNgayTiepNhan.TabIndex = 40;
            this.TxtNgayTiepNhan.Tag = null;
            this.TxtNgayTiepNhan.VisibleButtons = DropDownControlButtonFlags.DropDown;
            this.TxtNgayTiepNhan.VisualStyle = C1.Win.C1Input.VisualStyle.Office2007Blue;
            this.TxtNgayTiepNhan.VisualStyleBaseStyle = C1.Win.C1Input.VisualStyle.Office2007Blue;
            this.Label13.AutoSize = true;
            this.Label13.BackColor = Color.Transparent;
            point = new Point(0xee, 13);
            this.Label13.Location = point;
            this.Label13.Name = "Label13";
            size = new Size(0x4f, 13);
            this.Label13.Size = size;
            this.Label13.TabIndex = 0x29;
            this.Label13.Text = "Ng\x00e0y tiếp nhận";
            point = new Point(0x71, 10);
            this.TxtSoChungTu.Location = point;
            this.TxtSoChungTu.Name = "TxtSoChungTu";
            this.TxtSoChungTu.ReadOnly = true;
            size = new Size(100, 20);
            this.TxtSoChungTu.Size = size;
            this.TxtSoChungTu.TabIndex = 0x26;
            this.Label2.AutoSize = true;
            this.Label2.BackColor = Color.Transparent;
            point = new Point(9, 13);
            this.Label2.Location = point;
            this.Label2.Name = "Label2";
            size = new Size(0x43, 13);
            this.Label2.Size = size;
            this.Label2.TabIndex = 0x27;
            this.Label2.Text = "Số tiếp nhận";
            this.Label12.AutoSize = true;
            this.Label12.BackColor = Color.Transparent;
            point = new Point(450, 0x45);
            this.Label12.Location = point;
            this.Label12.Name = "Label12";
            size = new Size(0x60, 13);
            this.Label12.Size = size;
            this.Label12.TabIndex = 0x7e;
            this.Label12.Text = "Nh\x00e2n vi\x00ean kiểm tra";
            this.C1DockingTab2.Controls.Add(this.C1DockingTabPage2);
            this.C1DockingTab2.Dock = DockStyle.Fill;
            point = new Point(0, 0xcf);
            this.C1DockingTab2.Location = point;
            this.C1DockingTab2.Name = "C1DockingTab2";
            size = new Size(0x356, 0xdd);
            this.C1DockingTab2.Size = size;
            this.C1DockingTab2.TabIndex = 2;
            this.C1DockingTab2.TabsSpacing = 5;
            this.C1DockingTab2.TabStyle = TabStyleEnum.Office2007;
            this.C1DockingTab2.VisualStyle = C1.Win.C1Command.VisualStyle.Office2007Blue;
            this.C1DockingTab2.VisualStyleBase = C1.Win.C1Command.VisualStyle.Office2007Blue;
            this.C1DockingTabPage2.Controls.Add(this.Label17);
            this.C1DockingTabPage2.Controls.Add(this.CboTinhTrangSuaChua);
            this.C1DockingTabPage2.Controls.Add(this.TxtDienGiaiBanGiao);
            this.C1DockingTabPage2.Controls.Add(this.Label16);
            this.C1DockingTabPage2.Controls.Add(this.TxtNgayTraSales);
            this.C1DockingTabPage2.Controls.Add(this.Label15);
            this.C1DockingTabPage2.Controls.Add(this.TxtNgayHoanTatSuaChua);
            this.C1DockingTabPage2.Controls.Add(this.Label11);
            this.C1DockingTabPage2.Controls.Add(this.TxtGioTraHang);
            this.C1DockingTabPage2.Controls.Add(this.Label10);
            this.C1DockingTabPage2.Controls.Add(this.TxtTinhTrangThietBi);
            this.C1DockingTabPage2.Controls.Add(this.Label7);
            this.C1DockingTabPage2.Controls.Add(this.TxtNgayBanGiao);
            this.C1DockingTabPage2.Controls.Add(this.Label6);
            point = new Point(1, 0x18);
            this.C1DockingTabPage2.Location = point;
            this.C1DockingTabPage2.Name = "C1DockingTabPage2";
            size = new Size(0x354, 0xc4);
            this.C1DockingTabPage2.Size = size;
            this.C1DockingTabPage2.TabIndex = 0;
            this.C1DockingTabPage2.Text = "Th\x00f4ng tin b\x00e0n giao";
            this.Label17.AutoSize = true;
            this.Label17.BackColor = Color.Transparent;
            point = new Point(9, 0x12);
            this.Label17.Location = point;
            this.Label17.Name = "Label17";
            size = new Size(0x4b, 13);
            this.Label17.Size = size;
            this.Label17.TabIndex = 0;
            this.Label17.Text = "T\x00ecnh trạng sửa";
            this.CboTinhTrangSuaChua.FormattingEnabled = true;
            this.CboTinhTrangSuaChua.Items.AddRange(new object[] { "Mới tiếp nhận", "Đ\x00e3 kiểm tra", "Đ\x00e3 giao" });
            point = new Point(0x71, 15);
            this.CboTinhTrangSuaChua.Location = point;
            this.CboTinhTrangSuaChua.Name = "CboTinhTrangSuaChua";
            size = new Size(300, 0x15);
            this.CboTinhTrangSuaChua.Size = size;
            this.CboTinhTrangSuaChua.TabIndex = 1;
            point = new Point(0x71, 0x7b);
            this.TxtDienGiaiBanGiao.Location = point;
            this.TxtDienGiaiBanGiao.Multiline = true;
            this.TxtDienGiaiBanGiao.Name = "TxtDienGiaiBanGiao";
            size = new Size(0x2db, 0x31);
            this.TxtDienGiaiBanGiao.Size = size;
            this.TxtDienGiaiBanGiao.TabIndex = 13;
            this.Label16.AutoSize = true;
            this.Label16.BackColor = Color.Transparent;
            point = new Point(7, 0x7f);
            this.Label16.Location = point;
            this.Label16.Name = "Label16";
            size = new Size(0x5e, 13);
            this.Label16.Size = size;
            this.Label16.TabIndex = 12;
            this.Label16.Text = "Th\x00f4ng tin trả h\x00e0ng";
            this.TxtNgayTraSales.BorderStyle = BorderStyle.FixedSingle;
            this.TxtNgayTraSales.Calendar.AnnuallyBoldedDates = new DateTime[0];
            this.TxtNgayTraSales.Calendar.BoldedDates = new DateTime[0];
            this.TxtNgayTraSales.Calendar.ClearText = "&Clear";
            this.TxtNgayTraSales.Calendar.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            padding = new Padding(0);
            this.TxtNgayTraSales.Calendar.Margin = padding;
            this.TxtNgayTraSales.Calendar.MonthlyBoldedDates = new DateTime[0];
            time = new DateTime(0x7d9, 8, 0x13, 0, 0, 0, 0);
            this.TxtNgayTraSales.Calendar.SelectedDate = time;
            this.TxtNgayTraSales.Calendar.TodayText = "&Today";
            this.TxtNgayTraSales.Calendar.VisualStyle = C1.Win.C1Input.VisualStyle.System;
            this.TxtNgayTraSales.Calendar.VisualStyleBaseStyle = C1.Win.C1Input.VisualStyle.System;
            this.TxtNgayTraSales.DisplayFormat.FormatType = FormatTypeEnum.ShortDate;
            this.TxtNgayTraSales.DisplayFormat.Inherit = FormatInfoInheritFlags.TrimEnd | FormatInfoInheritFlags.TrimStart | FormatInfoInheritFlags.EmptyAsNull | FormatInfoInheritFlags.NullText | FormatInfoInheritFlags.CustomFormat;
            this.TxtNgayTraSales.FormatType = FormatTypeEnum.ShortDate;
            point = new Point(740, 15);
            this.TxtNgayTraSales.Location = point;
            this.TxtNgayTraSales.Name = "TxtNgayTraSales";
            padding = new Padding(1);
            this.TxtNgayTraSales.Padding = padding;
            this.TxtNgayTraSales.ReadOnly = true;
            size = new Size(0x69, 20);
            this.TxtNgayTraSales.Size = size;
            this.TxtNgayTraSales.TabIndex = 5;
            this.TxtNgayTraSales.Tag = null;
            this.TxtNgayTraSales.VisibleButtons = DropDownControlButtonFlags.DropDown;
            this.Label15.AutoSize = true;
            this.Label15.BackColor = Color.Transparent;
            point = new Point(0x28f, 0x12);
            this.Label15.Location = point;
            this.Label15.Name = "Label15";
            size = new Size(0x4a, 13);
            this.Label15.Size = size;
            this.Label15.TabIndex = 4;
            this.Label15.Text = "Ng\x00e0y trả sales";
            this.TxtNgayHoanTatSuaChua.BorderStyle = BorderStyle.FixedSingle;
            this.TxtNgayHoanTatSuaChua.Calendar.AnnuallyBoldedDates = new DateTime[0];
            this.TxtNgayHoanTatSuaChua.Calendar.BoldedDates = new DateTime[0];
            this.TxtNgayHoanTatSuaChua.Calendar.ClearText = "&Clear";
            this.TxtNgayHoanTatSuaChua.Calendar.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            padding = new Padding(0);
            this.TxtNgayHoanTatSuaChua.Calendar.Margin = padding;
            this.TxtNgayHoanTatSuaChua.Calendar.MonthlyBoldedDates = new DateTime[0];
            time = new DateTime(0x7d9, 8, 0x13, 0, 0, 0, 0);
            this.TxtNgayHoanTatSuaChua.Calendar.SelectedDate = time;
            this.TxtNgayHoanTatSuaChua.Calendar.TodayText = "&Today";
            this.TxtNgayHoanTatSuaChua.Calendar.VisualStyle = C1.Win.C1Input.VisualStyle.System;
            this.TxtNgayHoanTatSuaChua.Calendar.VisualStyleBaseStyle = C1.Win.C1Input.VisualStyle.System;
            this.TxtNgayHoanTatSuaChua.DisplayFormat.FormatType = FormatTypeEnum.ShortDate;
            this.TxtNgayHoanTatSuaChua.DisplayFormat.Inherit = FormatInfoInheritFlags.TrimEnd | FormatInfoInheritFlags.TrimStart | FormatInfoInheritFlags.EmptyAsNull | FormatInfoInheritFlags.NullText | FormatInfoInheritFlags.CustomFormat;
            this.TxtNgayHoanTatSuaChua.FormatType = FormatTypeEnum.ShortDate;
            point = new Point(0x221, 0x10);
            this.TxtNgayHoanTatSuaChua.Location = point;
            this.TxtNgayHoanTatSuaChua.Name = "TxtNgayHoanTatSuaChua";
            padding = new Padding(1);
            this.TxtNgayHoanTatSuaChua.Padding = padding;
            this.TxtNgayHoanTatSuaChua.ReadOnly = true;
            size = new Size(0x69, 20);
            this.TxtNgayHoanTatSuaChua.Size = size;
            this.TxtNgayHoanTatSuaChua.TabIndex = 3;
            this.TxtNgayHoanTatSuaChua.Tag = null;
            this.TxtNgayHoanTatSuaChua.VisibleButtons = DropDownControlButtonFlags.DropDown;
            this.Label11.AutoSize = true;
            this.Label11.BackColor = Color.Transparent;
            point = new Point(0x1b9, 0x13);
            this.Label11.Location = point;
            this.Label11.Name = "Label11";
            size = new Size(0x5e, 13);
            this.Label11.Size = size;
            this.Label11.TabIndex = 2;
            this.Label11.Text = "Ng\x00e0y ho\x00e0n tất sửa";
            point = new Point(0x145, 0x61);
            this.TxtGioTraHang.Location = point;
            this.TxtGioTraHang.Mask = "##:##";
            this.TxtGioTraHang.Name = "TxtGioTraHang";
            size = new Size(40, 20);
            this.TxtGioTraHang.Size = size;
            this.TxtGioTraHang.TabIndex = 11;
            this.Label10.AutoSize = true;
            this.Label10.BackColor = Color.Transparent;
            point = new Point(0xe5, 100);
            this.Label10.Location = point;
            this.Label10.Name = "Label10";
            size = new Size(0x47, 13);
            this.Label10.Size = size;
            this.Label10.TabIndex = 10;
            this.Label10.Text = "Giờ trả kh\x00e1ch";
            point = new Point(0x71, 0x2a);
            this.TxtTinhTrangThietBi.Location = point;
            this.TxtTinhTrangThietBi.Multiline = true;
            this.TxtTinhTrangThietBi.Name = "TxtTinhTrangThietBi";
            size = new Size(0x2db, 0x31);
            this.TxtTinhTrangThietBi.Size = size;
            this.TxtTinhTrangThietBi.TabIndex = 7;
            this.Label7.AutoSize = true;
            this.Label7.BackColor = Color.Transparent;
            point = new Point(8, 0x2d);
            this.Label7.Location = point;
            this.Label7.Name = "Label7";
            size = new Size(0x5f, 13);
            this.Label7.Size = size;
            this.Label7.TabIndex = 6;
            this.Label7.Text = "T\x00ecnh trạng sau sửa";
            this.TxtNgayBanGiao.BorderStyle = BorderStyle.FixedSingle;
            this.TxtNgayBanGiao.Calendar.AnnuallyBoldedDates = new DateTime[0];
            this.TxtNgayBanGiao.Calendar.BoldedDates = new DateTime[0];
            this.TxtNgayBanGiao.Calendar.ClearText = "&Clear";
            this.TxtNgayBanGiao.Calendar.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            padding = new Padding(0);
            this.TxtNgayBanGiao.Calendar.Margin = padding;
            this.TxtNgayBanGiao.Calendar.MonthlyBoldedDates = new DateTime[0];
            time = new DateTime(0x7d9, 8, 0x13, 0, 0, 0, 0);
            this.TxtNgayBanGiao.Calendar.SelectedDate = time;
            this.TxtNgayBanGiao.Calendar.TodayText = "&Today";
            this.TxtNgayBanGiao.Calendar.VisualStyle = C1.Win.C1Input.VisualStyle.System;
            this.TxtNgayBanGiao.Calendar.VisualStyleBaseStyle = C1.Win.C1Input.VisualStyle.System;
            this.TxtNgayBanGiao.DisplayFormat.FormatType = FormatTypeEnum.ShortDate;
            this.TxtNgayBanGiao.DisplayFormat.Inherit = FormatInfoInheritFlags.TrimEnd | FormatInfoInheritFlags.TrimStart | FormatInfoInheritFlags.EmptyAsNull | FormatInfoInheritFlags.NullText | FormatInfoInheritFlags.CustomFormat;
            this.TxtNgayBanGiao.FormatType = FormatTypeEnum.ShortDate;
            point = new Point(0x71, 0x61);
            this.TxtNgayBanGiao.Location = point;
            this.TxtNgayBanGiao.Name = "TxtNgayBanGiao";
            padding = new Padding(1);
            this.TxtNgayBanGiao.Padding = padding;
            this.TxtNgayBanGiao.ReadOnly = true;
            size = new Size(0x69, 20);
            this.TxtNgayBanGiao.Size = size;
            this.TxtNgayBanGiao.TabIndex = 9;
            this.TxtNgayBanGiao.Tag = null;
            this.TxtNgayBanGiao.VisibleButtons = DropDownControlButtonFlags.DropDown;
            this.Label6.AutoSize = true;
            this.Label6.BackColor = Color.Transparent;
            point = new Point(8, 0x65);
            this.Label6.Location = point;
            this.Label6.Name = "Label6";
            size = new Size(80, 13);
            this.Label6.Size = size;
            this.Label6.TabIndex = 8;
            this.Label6.Text = "Ng\x00e0y trả kh\x00e1ch";
            SizeF ef = new SizeF(6f, 13f);
            this.AutoScaleDimensions = ef;
            this.AutoScaleMode = AutoScaleMode.Font;
            size = new Size(0x356, 0x1ac);
            this.ClientSize = size;
            this.ControlBox = false;
            this.Controls.Add(this.C1DockingTab2);
            this.Controls.Add(this.C1DockingTab1);
            this.Controls.Add(this.ToolStrip1);
            this.FormBorderStyle = FormBorderStyle.FixedDialog;
            this.KeyPreview = true;
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "Frm_BanGiaoSuaChua";
            this.StartPosition = FormStartPosition.CenterScreen;
            this.Tag = "SC-0004";
            this.Text = "BAN GIAO THIET BI";
            this.ToolStrip1.ResumeLayout(false);
            this.ToolStrip1.PerformLayout();
            ((ISupportInitialize) this.C1DockingTab1).EndInit();
            this.C1DockingTab1.ResumeLayout(false);
            this.C1DockingTabPage1.ResumeLayout(false);
            this.C1DockingTabPage1.PerformLayout();
            ((ISupportInitialize) this.TxtNgayKiemTra).EndInit();
            ((ISupportInitialize) this.TxtNgayTiepNhan).EndInit();
            ((ISupportInitialize) this.C1DockingTab2).EndInit();
            this.C1DockingTab2.ResumeLayout(false);
            this.C1DockingTabPage2.ResumeLayout(false);
            this.C1DockingTabPage2.PerformLayout();
            ((ISupportInitialize) this.TxtNgayTraSales).EndInit();
            ((ISupportInitialize) this.TxtNgayHoanTatSuaChua).EndInit();
            ((ISupportInitialize) this.TxtNgayBanGiao).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();
        }

        public void InsertTiepNhanThietBi(string strKhoaTiepNhan)
        {
            clsSuaChuaThietBi objTN = this.objTN;
            this.objTN.Load(strKhoaTiepNhan);
            if (this.objTN.NgayTraHang.Trim() != "")
            {
                this.ShowData(strKhoaTiepNhan);
            }
            else
            {
                this.cfrmKhoaTiepNhan = strKhoaTiepNhan;
                this.TxtSoChungTu.Text = objTN.SoChungTu;
                this.TxtNgayTiepNhan.Value = LVYModule.Char2Date(objTN.NgayTiepNhan);
                this.objHH.Load(objTN.KhoaHangHoa);
                this.TxtMaThietBi.Tag = objTN.KhoaHangHoa;
                this.TxtMaThietBi.Text = this.objHH.Ma;
                this.TxtTenThietBi.Text = this.objHH.TenViet;
                this.AdvKhachHang.Value = objTN.KhoaDoiTuong;
                this.TxtSoSerial.Text = objTN.SoSerial;
                this.CboDieuKienSuaChua.SelectedIndex = objTN.LoaiSuaChua;
                this.TxtNguyenNhan.Text = objTN.NguyenNhan;
                this.TxtKetLuan.Text = objTN.XacDinhLoi;
                this.TxtNgayKiemTra.Value = LVYModule.Char2Date(objTN.NgayKiemTra);
                this.AdvNhanVienKiemTra.Value = objTN.KhoaNhanVienKiemTra;
                if (objTN.NgayKiemTra.Trim() != "")
                {
                    this.CboTinhTrangSuaChua.SelectedIndex = 0;
                }
                else
                {
                    this.CboTinhTrangSuaChua.SelectedIndex = 1;
                }
            }
            objTN = null;
        }

        public void PrintReport(string strKhoa)
        {
            clsSuaChuaThietBi bi = new clsSuaChuaThietBi();
            if (Form.ActiveForm != null)
            {
                Form.ActiveForm.Cursor = Cursors.WaitCursor;
            }
            bi.Load(strKhoa);
            DataTable dataPrintBienBan = bi.GetDataPrintBienBan(strKhoa);
            DataTable dataPrintDeXuat = bi.GetDataPrintDeXuat(strKhoa);
            if (dataPrintBienBan != null)
            {
                if (dataPrintBienBan.Rows.Count == 0)
                {
                    LVYModule.ShowWarning(modGeneral.Tranlated("Kh\x00f4ng c\x00f3 dữ liệu !", ""));
                }
                else
                {
                    Rpt_BienBanSuaChuaBaoTri tri = new Rpt_BienBanSuaChuaBaoTri();
                    try
                    {
                        tri.Subreports[1].SetDataSource(dataPrintDeXuat);
                        tri.Subreports[0].SetDataSource(modGeneral.H_DATACOMPANY);
                        tri.SetDataSource(dataPrintBienBan);
                        if (modGeneral.H_LANGUAGE == "VIET")
                        {
                            tri.SetParameterValue(0, modGeneral.Tranlated(modGeneral.H_COMPANYNAMEVIET, ""));
                        }
                        else
                        {
                            tri.SetParameterValue(0, modGeneral.Tranlated(modGeneral.H_COMPANYNAMEANH, ""));
                        }
                        tri.SetParameterValue(1, modGeneral.Tranlated("Địa chỉ", "") + ": " + modGeneral.H_ADDRESS);
                        tri.SetParameterValue(2, modGeneral.Tranlated("M\x00e3 số thuế", "") + ": " + modGeneral.H_TAXCODE);
                        tri.SetParameterValue(3, modGeneral.Tranlated("Điện thoại", "") + ": " + modGeneral.H_TELEPHONE);
                        tri.SetParameterValue(4, modGeneral.Tranlated("Fax", "") + ": " + modGeneral.H_FAX);
                        tri.SetParameterValue(5, modGeneral.Tranlated("Hotline", "") + ": " + modGeneral.H_HOTLINE);
                        tri.SetParameterValue(6, modGeneral.Tranlated("Email", "") + ": " + modGeneral.H_EMAIL);
                        tri.SetParameterValue(7, modGeneral.Tranlated("Website", "") + ": " + modGeneral.H_WEBSITE);
                        tri.SetParameterValue(8, modGeneral.Tranlated("BI\x00caN BẢN SỬA CHỮA BẢO TR\x00cc THIẾT BỊ", ""));
                        tri.SetParameterValue(9, LVYModule.Date2Letter(LVYModule.Char2Date(bi.NgayChungTu)));
                        tri.SetParameterValue(10, modGeneral.Tranlated("Số chứng từ", "") + ": " + bi.SoChungTu);
                        MyProject.Forms.Frm_ViewReport.ReportViewer.ReportSource = tri;
                        MyProject.Forms.Frm_ViewReport.ReportViewer.DisplayGroupTree = false;
                        MyProject.Forms.Frm_ViewReport.ShowDialog();
                        if (Form.ActiveForm != null)
                        {
                            Form.ActiveForm.Cursor = Cursors.Default;
                        }
                    }
                    catch (Exception exception1)
                    {
                        ProjectData.SetProjectError(exception1);
                        Exception exception = exception1;
                        if (Form.ActiveForm != null)
                        {
                            Form.ActiveForm.Cursor = Cursors.Default;
                        }
                        MessageBox.Show(exception.Message.ToString());
                        ProjectData.ClearProjectError();
                    }
                }
            }
        }

        public void ShowData(string strKhoa)
        {
            clsSuaChuaThietBi objTN = this.objTN;
            objTN.Load(strKhoa);
            this.cfrmKhoaTiepNhan = strKhoa;
            this.TxtSoChungTu.Text = objTN.SoChungTu;
            this.TxtNgayTiepNhan.Value = LVYModule.Char2Date(objTN.NgayTiepNhan);
            this.objHH.Load(objTN.KhoaHangHoa);
            this.TxtMaThietBi.Tag = objTN.KhoaHangHoa;
            this.TxtMaThietBi.Text = this.objHH.Ma;
            this.TxtTenThietBi.Text = this.objHH.TenViet;
            this.AdvKhachHang.Value = objTN.KhoaDoiTuong;
            this.TxtSoSerial.Text = objTN.SoSerial;
            this.CboDieuKienSuaChua.SelectedIndex = objTN.LoaiSuaChua;
            this.TxtNguyenNhan.Text = objTN.NguyenNhan;
            this.TxtKetLuan.Text = objTN.XacDinhLoi;
            this.TxtNgayKiemTra.Value = LVYModule.Char2Date(objTN.NgayKiemTra);
            this.AdvNhanVienKiemTra.Value = objTN.KhoaNhanVienKiemTra;
            this.CboTinhTrangSuaChua.SelectedIndex = objTN.TinhTrangSuaChua;
            this.TxtNgayHoanTatSuaChua.Value = LVYModule.Char2Date(objTN.NgayHoanTatSuaChua);
            this.TxtNgayTraSales.Value = LVYModule.Char2Date(objTN.NgayBanGiaoSales);
            this.TxtNgayBanGiao.Value = LVYModule.Char2Date(objTN.NgayTraHang);
            this.TxtDienGiaiBanGiao.Text = objTN.DienGiaiTraHang;
            this.TxtTinhTrangThietBi.Text = objTN.TinhTrangSauKhiSuaChua;
            this.TxtGioTraHang.Text = objTN.GioTraHang;
            objTN = null;
        }

        internal virtual ADVObjects AdvKhachHang
        {
            [DebuggerNonUserCode]
            get
            {
                return this._AdvKhachHang;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._AdvKhachHang = value;
            }
        }

        internal virtual ADVObjects AdvNhanVienKiemTra
        {
            [DebuggerNonUserCode]
            get
            {
                return this._AdvNhanVienKiemTra;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._AdvNhanVienKiemTra = value;
            }
        }

        internal virtual C1DockingTab C1DockingTab1
        {
            [DebuggerNonUserCode]
            get
            {
                return this._C1DockingTab1;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._C1DockingTab1 = value;
            }
        }

        internal virtual C1DockingTab C1DockingTab2
        {
            [DebuggerNonUserCode]
            get
            {
                return this._C1DockingTab2;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._C1DockingTab2 = value;
            }
        }

        internal virtual C1DockingTabPage C1DockingTabPage1
        {
            [DebuggerNonUserCode]
            get
            {
                return this._C1DockingTabPage1;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._C1DockingTabPage1 = value;
            }
        }

        internal virtual C1DockingTabPage C1DockingTabPage2
        {
            [DebuggerNonUserCode]
            get
            {
                return this._C1DockingTabPage2;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._C1DockingTabPage2 = value;
            }
        }

        internal virtual ComboBox CboDieuKienSuaChua
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CboDieuKienSuaChua;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._CboDieuKienSuaChua = value;
            }
        }

        internal virtual ComboBox CboTinhTrangSuaChua
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CboTinhTrangSuaChua;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._CboTinhTrangSuaChua = value;
            }
        }

        internal virtual ToolStripButton CmdAdd
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CmdAdd;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.CmdAdd_Click);
                if (this._CmdAdd != null)
                {
                    this._CmdAdd.Click -= handler;
                }
                this._CmdAdd = value;
                if (this._CmdAdd != null)
                {
                    this._CmdAdd.Click += handler;
                }
            }
        }

        internal virtual ToolStripButton CmdDel
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CmdDel;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.CmdDel_Click);
                if (this._CmdDel != null)
                {
                    this._CmdDel.Click -= handler;
                }
                this._CmdDel = value;
                if (this._CmdDel != null)
                {
                    this._CmdDel.Click += handler;
                }
            }
        }

        internal virtual ToolStripButton CmdEdit
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CmdEdit;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.CmdEdit_Click);
                if (this._CmdEdit != null)
                {
                    this._CmdEdit.Click -= handler;
                }
                this._CmdEdit = value;
                if (this._CmdEdit != null)
                {
                    this._CmdEdit.Click += handler;
                }
            }
        }

        internal virtual ToolStripButton CmdExit
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CmdExit;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.CmdExit_Click);
                if (this._CmdExit != null)
                {
                    this._CmdExit.Click -= handler;
                }
                this._CmdExit = value;
                if (this._CmdExit != null)
                {
                    this._CmdExit.Click += handler;
                }
            }
        }

        internal virtual ToolStripButton CmdFind
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CmdFind;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.CmdFind_Click);
                if (this._CmdFind != null)
                {
                    this._CmdFind.Click -= handler;
                }
                this._CmdFind = value;
                if (this._CmdFind != null)
                {
                    this._CmdFind.Click += handler;
                }
            }
        }

        internal virtual ToolStripButton CmdHelp
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CmdHelp;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._CmdHelp = value;
            }
        }

        internal virtual ToolStripButton CmdPrint
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CmdPrint;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.CmdPrint_Click);
                if (this._CmdPrint != null)
                {
                    this._CmdPrint.Click -= handler;
                }
                this._CmdPrint = value;
                if (this._CmdPrint != null)
                {
                    this._CmdPrint.Click += handler;
                }
            }
        }

        internal virtual ToolStripButton CmdSave
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CmdSave;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.CmdSave_Click);
                if (this._CmdSave != null)
                {
                    this._CmdSave.Click -= handler;
                }
                this._CmdSave = value;
                if (this._CmdSave != null)
                {
                    this._CmdSave.Click += handler;
                }
            }
        }

        internal virtual Button CmdTimSoTiepNhan
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CmdTimSoTiepNhan;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.CmdTimSoTiepNhan_Click);
                if (this._CmdTimSoTiepNhan != null)
                {
                    this._CmdTimSoTiepNhan.Click -= handler;
                }
                this._CmdTimSoTiepNhan = value;
                if (this._CmdTimSoTiepNhan != null)
                {
                    this._CmdTimSoTiepNhan.Click += handler;
                }
            }
        }

        internal virtual ToolStripButton CmdUnsave
        {
            [DebuggerNonUserCode]
            get
            {
                return this._CmdUnsave;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                EventHandler handler = new EventHandler(this.CmdUnsave_Click);
                if (this._CmdUnsave != null)
                {
                    this._CmdUnsave.Click -= handler;
                }
                this._CmdUnsave = value;
                if (this._CmdUnsave != null)
                {
                    this._CmdUnsave.Click += handler;
                }
            }
        }

        public bool EnabledControl
        {
            get
            {
                return this.mEnableControl;
            }
            set
            {
                this.mEnableControl = value;
                this.CmdTimSoTiepNhan.Enabled = value;
                this.TxtNgayBanGiao.ReadOnly = !value;
                this.TxtNgayTraSales.ReadOnly = !value;
                this.TxtNgayHoanTatSuaChua.ReadOnly = !value;
                this.TxtTinhTrangThietBi.ReadOnly = !value;
                this.TxtDienGiaiBanGiao.ReadOnly = !value;
                this.CboTinhTrangSuaChua.Enabled = value;
                this.TxtGioTraHang.ReadOnly = !value;
                this.CmdAdd.Enabled = !value & this.mAllowEdit;
                this.CmdEdit.Enabled = !value & this.mAllowEdit;
                this.CmdDel.Enabled = !value;
                this.CmdSave.Enabled = value;
                this.CmdUnsave.Enabled = value;
                this.CmdPrint.Enabled = !value;
                this.CmdExit.Enabled = !value;
            }
        }

        internal virtual Label Label1
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label1;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label1 = value;
            }
        }

        internal virtual Label Label10
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label10;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label10 = value;
            }
        }

        internal virtual Label Label11
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label11;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label11 = value;
            }
        }

        internal virtual Label Label12
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label12;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label12 = value;
            }
        }

        internal virtual Label Label13
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label13;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label13 = value;
            }
        }

        internal virtual Label Label14
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label14;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label14 = value;
            }
        }

        internal virtual Label Label15
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label15;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label15 = value;
            }
        }

        internal virtual Label Label16
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label16;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label16 = value;
            }
        }

        internal virtual Label Label17
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label17;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label17 = value;
            }
        }

        internal virtual Label Label2
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label2;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label2 = value;
            }
        }

        internal virtual Label Label20
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label20;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label20 = value;
            }
        }

        internal virtual Label Label3
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label3;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label3 = value;
            }
        }

        internal virtual Label Label4
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label4;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label4 = value;
            }
        }

        internal virtual Label Label5
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label5;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label5 = value;
            }
        }

        internal virtual Label Label6
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label6;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label6 = value;
            }
        }

        internal virtual Label Label7
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label7;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label7 = value;
            }
        }

        internal virtual Label Label8
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label8;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label8 = value;
            }
        }

        internal virtual Label Label9
        {
            [DebuggerNonUserCode]
            get
            {
                return this._Label9;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._Label9 = value;
            }
        }

        internal virtual ToolStrip ToolStrip1
        {
            [DebuggerNonUserCode]
            get
            {
                return this._ToolStrip1;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._ToolStrip1 = value;
            }
        }

        internal virtual ToolStripSeparator ToolStripButton1
        {
            [DebuggerNonUserCode]
            get
            {
                return this._ToolStripButton1;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._ToolStripButton1 = value;
            }
        }

        internal virtual ToolStripSeparator ToolStripSeparator1
        {
            [DebuggerNonUserCode]
            get
            {
                return this._ToolStripSeparator1;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._ToolStripSeparator1 = value;
            }
        }

        internal virtual ToolStripSeparator ToolStripSeparator2
        {
            [DebuggerNonUserCode]
            get
            {
                return this._ToolStripSeparator2;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._ToolStripSeparator2 = value;
            }
        }

        internal virtual ToolStripSeparator ToolStripSeparator3
        {
            [DebuggerNonUserCode]
            get
            {
                return this._ToolStripSeparator3;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._ToolStripSeparator3 = value;
            }
        }

        internal virtual TextBox TxtDiaChi
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtDiaChi;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtDiaChi = value;
            }
        }

        internal virtual TextBox TxtDienGiaiBanGiao
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtDienGiaiBanGiao;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtDienGiaiBanGiao = value;
            }
        }

        internal virtual MaskedTextBox TxtGioTraHang
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtGioTraHang;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtGioTraHang = value;
            }
        }

        internal virtual TextBox TxtKetLuan
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtKetLuan;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtKetLuan = value;
            }
        }

        internal virtual TextBox TxtMaThietBi
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtMaThietBi;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtMaThietBi = value;
            }
        }

        internal virtual C1DateEdit TxtNgayBanGiao
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtNgayBanGiao;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtNgayBanGiao = value;
            }
        }

        internal virtual C1DateEdit TxtNgayHoanTatSuaChua
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtNgayHoanTatSuaChua;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtNgayHoanTatSuaChua = value;
            }
        }

        internal virtual C1DateEdit TxtNgayKiemTra
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtNgayKiemTra;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtNgayKiemTra = value;
            }
        }

        internal virtual C1DateEdit TxtNgayTiepNhan
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtNgayTiepNhan;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtNgayTiepNhan = value;
            }
        }

        internal virtual C1DateEdit TxtNgayTraSales
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtNgayTraSales;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtNgayTraSales = value;
            }
        }

        internal virtual TextBox TxtNguyenNhan
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtNguyenNhan;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtNguyenNhan = value;
            }
        }

        internal virtual TextBox TxtSoChungTu
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtSoChungTu;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtSoChungTu = value;
            }
        }

        internal virtual TextBox TxtSoSerial
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtSoSerial;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtSoSerial = value;
            }
        }

        internal virtual TextBox TxtTenThietBi
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtTenThietBi;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtTenThietBi = value;
            }
        }

        internal virtual TextBox TxtTinhTrangThietBi
        {
            [DebuggerNonUserCode]
            get
            {
                return this._TxtTinhTrangThietBi;
            }
            [MethodImpl(MethodImplOptions.Synchronized), DebuggerNonUserCode]
            set
            {
                this._TxtTinhTrangThietBi = value;
            }
        }
    }
}

